﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public interface IDictRepository
    {
        Task<WmsDictType> GetDictTypeByCodeAsync(string code);
        Task<List<WmsDictData>> GetDictDataByTypeIdAsync(long typeId);
        Task UpdateDictTypeAsync(WmsDictType dictType);
        Task UpdateDictDataAsync(WmsDictData dictData);
    }
}
